package com.czmh.etc.onlinepubsys.services;

import com.czmh.etc.onlinepubsys.model.AppVersion;

import java.util.List;
import java.util.Map;

/**
 * app版本升级
 * 
 * @author Auto
 * @email Auto
 * @date 2020-09-29 16:30:30
 */
public interface AppVersionService {
	
	AppVersion queryObject(String id);
	
	List<AppVersion> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);

    int save(AppVersion appVersion);

    int  saveSelective(AppVersion appVersion);

    int saveList(List<AppVersion> appVersions);

    int update(AppVersion appVersion);

    int delete(String id);

    int deleteBatch(String[] ids);

    List<AppVersion> getAppVersionsByType(int type);

    int compareVersion(String version1, String version2) throws Exception;
}
